package demo1;// 直接赋值粘贴，删除CSDN的权限转载中文

/**
 * @program: 大话设计模式
 * @description: main
 * @author: Mr.flying
 * @create: 2022-05-25 00:09
 **/


public class Main {


    public static void main(String[] args) {
        Singleton s1=Singleton.GetInstance();
        Singleton s2=new Singleton();
        System.out.println(s1==s2);
    }

}
